package com.daisuxia.web.test;

 
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.UnsupportedEncodingException;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.ProtocolException;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;

import org.apache.http.HttpEntity;
import org.apache.http.HttpStatus;
import org.apache.http.NameValuePair;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.config.RequestConfig;
import org.apache.http.client.entity.EntityBuilder;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.message.BasicNameValuePair;
import org.apache.http.util.EntityUtils;

import com.daisuxia.web.util.GenerateNo;

 
 

/**
 * 

 * @ClassName:     CmbHLentity.java
 * @Description:   TODO 
 * @author          zhangjb
 * @version         V1.0  
 * @Date           2016年12月28日 下午4:33:39
 */
public class CmbHLentity {
	
	public static final Map<Integer,String> RETCODMap=new HashMap<Integer,String> ();
	static {
		
		RETCODMap.put(0, "成功");
		RETCODMap.put(-1, "提交主机失败");
		RETCODMap.put(-2, "执行失败"); 
		RETCODMap.put(-3, "数据格式错误");
		RETCODMap.put(-4, "尚未登录系统");
		RETCODMap.put(-5, "请求太频繁");
		RETCODMap.put(-6, "不是证书卡用户");
		RETCODMap.put(-7, "用户取消操作");
		RETCODMap.put(-9, "其它错误");
		
	}
	public static final Map<Integer,String> REQSTSMap=new HashMap<Integer,String> ();
	static {
		
		REQSTSMap.put(0, "成功");
		REQSTSMap.put(-1, "提交主机失败");
		REQSTSMap.put(-2, "执行失败"); 
		REQSTSMap.put(-3, "数据格式错误");
		REQSTSMap.put(-4, "尚未登录系统");
		REQSTSMap.put(-5, "请求太频繁");
		REQSTSMap.put(-6, "不是证书卡用户");
		REQSTSMap.put(-7, "用户取消操作");
		REQSTSMap.put(-9, "其它错误");
		
	}
	
}